* {
    margin: 0;
    padding: 0;
}

body {
    background-color: aliceblue;
}

.loginModule {
    width: 500px;
    height: 400px;
    background-color: #fff;
    margin: 100px auto;
    padding-top: 50px;
    border-radius: 20px;
    .logIn-title {
        width: 330px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        font-size: 30px;
        color: black;
        margin: 0 auto;
    }
    p {
        width: 350px;
        height: 40px;
        margin: 40px auto;
        input {
            width: 330px;
            height: 40px;
            padding-left: 20px;
            outline: none;
            font-size: 14px;
        }
    }
    .logIn {
        width: 330px;
        height: 50px;
        text-align: center;
        line-height: 50px;
        margin: 0 auto;
        background-color: tomato;
    }
    .register {
        width: 100px;
        height: 14px;
        margin-top: 20px;
        margin-left: 300px;
        a {
            text-decoration: none;
            color: #757575;
        }
        a:hover {
            color: #e22319;
        }
    }
}

.success {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    width: 300px;
    height: 150px;
    background-color: #fff;
    border-radius: 10px;
    display: none;
    div {
        width: 200px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        margin: 30px auto;
        font-size: 18px;
        color: crimson;
    }
    p {
        width: 100%;
        height: 50px;
        line-height: 50px;
        text-align: center;
        color: brown;
    }
}

.fail {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    width: 300px;
    height: 150px;
    background-color: #FF9767;
    border-radius: 10px;
    display: none;
    div {
        width: 300px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        margin: 30px 0 10px;
        font-size: 18px;
        color: #D70009;
    }
    p {
        width: 100%;
        height: 50px;
        line-height: 50px;
        text-align: center;
        color: #fff;
        font-size: 14px;
    }
    button {
        position: absolute;
        right: -5px;
        top: -5px;
        width: 25px;
        height: 20px;
        background-color: brown;
        outline: none;
        border: 0;
        border-radius: 8px;
    }
}